package com.site.wisdom_construction.service.personnelModule;

import com.site.wisdom_construction.dao.personnelModule.EducationProductionResponsibilityDao;
import com.site.wisdom_construction.entity.personnelModule.EducationProductionResponsibility;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

/**
 * @Author daiyifei
 * @Date 2022/4/19
 * @Description
 */
@Service
public class EducationProductionResponsibilityService implements EducationProductionResponsibilityDao {
    @Autowired
    private EducationProductionResponsibilityDao educationProductionResponsibilityDao;

    @Override
    public int insertEducationProductionResponsibility(Map map) {
        return educationProductionResponsibilityDao.insertEducationProductionResponsibility(map);
    }

    @Override
    public int deleteEducationProductionResponsibility(Map map) {
        return educationProductionResponsibilityDao.deleteEducationProductionResponsibility(map);
    }

    @Override
    public int updateEducationProductionResponsibility(Map map) {
        return educationProductionResponsibilityDao.updateEducationProductionResponsibility(map);
    }

    @Override
    public List<EducationProductionResponsibility> findEducationProductionResponsibilityByPage(Map map) {
        return educationProductionResponsibilityDao.findEducationProductionResponsibilityByPage(map);
    }

    @Override
    public long Total(Map map) {
        return educationProductionResponsibilityDao.Total(map);
    }

    @Override
    public EducationProductionResponsibility findEducationProductionResponsibilityByEducationProfessionId(Map map) {
        return educationProductionResponsibilityDao.findEducationProductionResponsibilityByEducationProfessionId(map);
    }
}
